package com.test.lyt.entity.po;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;
import javax.validation.constraints.NotBlank;

@Data
@Builder
@TableName("user_data_info")
public class UserPO {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("uuid")
    private String uuid;

    @TableField("user_name")
    private String userName;

    @NotBlank
    @TableField("user_adress")
    private String userAdress;

    @NotBlank
    @TableField("user_email")
    private String userEmail;

    @NotBlank
    @TableField("user_phone")
    private String userPhone;

    @TableField("user_height")
    private String userHeight;


    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("update_time")
    private LocalDateTime updateTime;

}